<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
</head>
<body>
<script type="text/javascript">
	// 普通函数
	function getSum(num1,num2){
		return num1+num2
	}
	const res=getSum(10,20)
	console.log(res)

   // 箭头函数
	const getName=(uname)=>{
		return uname
	}
    const result=getName("马云")
    console.log(result)



</script>
</body>
</html>